package com.lagou.boot;

import com.lagou.server.UserServiceImpl;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.context.annotation.Bean;

/**
 * @author sxnan
 * @className ServerBoot
 * @description TODO
 * @date 2020/8/18
 */
@SpringBootConfiguration
public class ServerBoot {

    @Bean
    public void startServer() {
        UserServiceImpl.startServer("127.0.0.1",8991);
    }
}
